import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';
import { SysPermissionComponent } from './permission/permission.component';
import { SysMenuComponent } from './menu/menu.component';
import { SysRoleComponent } from './role/role.component';
import { SysUserComponent } from './user/user.component';

const routes: Routes = [
  { path: 'permission', component: SysPermissionComponent },
  { path: 'menu', component: SysMenuComponent },
  { path: 'role', component: SysRoleComponent },
  { path: 'user', component: SysUserComponent }];

@NgModule({
  imports: [RouterModule.forChild(routes)],
  exports: [RouterModule]
})
export class SysRoutingModule { }
